The role of Response.setcontenttype (MIME) is to enable the client browser to differentiate between different kinds of data and to process the corresponding data according to different programs embedded in different MIME call browsers.
For example,
Response. setContentType (MIME) is used to enable the client browser to differentiate different types of data and call different program embedding modules in the browser to process the corresponding data according to different MIME types.
For
Because of too much content, we can search by ctrl+f
IE BrowserID suffix name PHP recognized file type0 gif image/gif1 jpg image/jpeg2 PNG Image/png3 BMP Image/bmp4 PSD Application/octet-stream5 ico Image/x-icon6 rar Application/octet-stream7 Zip
List of MIME types arranged by content type
Type/subtype
Extension
Application/envoy
Evy
Application/fractals
Fif
Application/futuresplash
SPL
Application/HTA
HTA
This array contains common MIME types, and if you need to do a file download, you can view the file extension from this array to determine if you can download
$mime _types = Array ("323" = "text/h323",
"Acx" =
Provides various official and user-released code examples and code reference. You are welcome to exchange and learn.
/*** Obtain the mime type based on the file suffix* @ Param string $ ext file suffix* @ Return string mime type*/Function
Introduction: This is a php file MIME table details page, describes and php, related knowledge, skills, experience, and some php source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 329780 'rolling =
[Cpp] TortoiseSVN settings-General settings-subversion configuration file-edit Or Windows XP in the C: \ Documents ents and Settings \ Administrator \ Application Data \ Subversion \ config file Windows7 is in the C: \ Users \ Administrator \
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.